package au.com.centrumsystems.hudson.plugin.buildpipeline;

import com.google.inject.AbstractModule;
import com.google.inject.assistedinject.FactoryProvider;

public class BuildPipelineModule extends AbstractModule {

    protected void configure() {
        bind(ProjectGrid.Factory.class)
            .toProvider(
                FactoryProvider.newFactory(
                    ProjectGrid.Factory.class, ProjectGrid.class));
        bind(BuildGrid.Factory.class)
            .toProvider(
                FactoryProvider.newFactory(
                    BuildGrid.Factory.class, BuildGrid.class));
    }
}

